package com.yiqi.lottery.feature.lottery.contract;

import com.suozhang.framework.framework.BasePresenter;
import com.suozhang.framework.framework.BaseView;
import com.yiqi.lottery.entity.bo.HomeBo;
import com.yiqi.lottery.entity.bo.LotteryHistoryBo;
import com.yiqi.lottery.entity.bo.LuckyHistoryBo;
import com.yiqi.lottery.entity.bo.OrderBo;
import io.reactivex.Observable;

import java.util.List;

public interface HomeContract {

    interface Model {
        Observable<HomeBo> getHomeData();
    }

    interface View extends BaseView {
        void showSuccess(HomeBo s);
        void showError(String ex);


    }


    interface Presenter extends BasePresenter {
        void  getHomeData();
    }
}
